package com.itheima.Test3;

public class TestDemo1 {
    public static void main(String[] args) {
Demo1 de = new Demo1();
de.setName("张三");
de.setAge(15);
String str = de.getName();
int age = de.getAge();
        System.out.println(str);
        System.out.println(age);
    }
}
